<include file="public/header"/>
<!-- End of time_bar -->
<!-- Page content -->
<div id="page">
    <!-- Wrapper -->
    <div class="wrapper" >
        <div align="center">
            <h1>完善资料</h1>
            图片预览
            <div id="showImage">
                <c:if test='false'>
                    <img width="40" height="40" class="avatar"  SRC='http://bj.bcebos.com/duyou8//head/142.jpg' />
                    <img width="80" height="80" class="avatar"  SRC='http://bj.bcebos.com/duyou8//head/142.jpg' />
                </c:if>
            </div>
            <div id="message"></div>
            <form id="picform" enctype="multipart/form-data" method="post" >
                <input id="upimg" name="fileMaterial"   type="file" />
                <input type="button" onclick="uploadUserImage()" value="上传" />
                <input name="user_id" type="hidden" id="user_id" value="142" />
                <input name="img_type" type="hidden" id="img_type" value="" />
            </form>
            <form action="/user/completeInfo" method="post">
                <table width="600" border="0">
                    <tr>
                        <td width="178"><div align="right">性别</div></td>
                        <td width="17">&nbsp;</td>
                        <td width="391">
                            <div align="left">
                                <input name="user.sex" type="radio" value="0" checked="checked" />
                                男
                                <input type="radio" name="user.sex" value="1" />
                                女</div></td>
                    </tr>
                    <tr>
                        <td><div align="right">年龄</div></td>
                        <td>&nbsp;</td>
                        <td><div align="left">
                            <input type="text" name="user.age" value="0" />
                        </div></td>
                    </tr>
                    <tr>
                        <td><div align="right"></div></td>
                        <td>&nbsp;</td>
                        <td><div align="left"></div></td>
                    </tr>
                    <tr>
                        <td><div align="right">*邮箱</div></td>
                        <td>&nbsp;</td>
                        <td><div align="left">
                            <input type="text" name="user.mail" value="" />
                        </div></td>
                    </tr>
                    <tr>
                        <td><div align="right">电话</div></td>
                        <td>&nbsp;</td>
                        <td><div align="left">
                            <input type="text" name="user.phone" value="" />
                        </div></td>
                    </tr>
                    <tr>
                        <td><div align="right">QQ</div></td>
                        <td>&nbsp;</td>
                        <td><div align="left">
                            <input type="text" name="user.qq" value="" />
                        </div></td>
                    </tr>
                    <tr>
                        <td><div align="right">读书宣言</div></td>
                        <td>&nbsp;</td>
                        <td><div align="left">
                            <textarea name="user.declaration"></textarea>
                        </div></td>
                    </tr>
                    <tr>
                        <td><div align="right">验证码</div></td>
                        <td>&nbsp;</td>
                        <td><label></label>
                            <div align="left">
                                <p>
                                    <input name="validate_code" type="text" size="4" maxlength="4" />
                                    <img id="validate_code_img" src="/validateImg"><a href="#" onClick="javascript:changeValidateCodeImg()">看不清，换一张 </a> </p>
                                <p> 请输入正确的验证码！ </p>
                            </div></td>
                    </tr>
                    <tr>
                        <td><div align="right"></div></td>
                        <td>&nbsp;</td>
                        <td><div align="left"></div></td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                </table>
                <p>
                    <label>
                        <input type="submit" name="Submit" value="提交" />
                    </label>
                </p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
            </form>
        </div>
    </div>
    <!-- End of Wrapper -->
</div>
<!-- End of Page content -->
<!-- Page footer -->
<include file="public/footer"/>
